package com.etl.dataflow.scheduler.admin.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 执行器信息
 * </p>
 *
 * @author dx
 * @since 2022-05-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("dataflow_executor_info")
public class DataflowExecutorInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 执行器UUID
     */
    @TableId(value = "uuid", type = IdType.INPUT)
    private String uuid;

    /**
     * ip地址
     */
    @TableField("host")
    private String host;

    /**
     * 端口号
     */
    @TableField("port")
    private Integer port;

    /**
     * 插入时间
     */
    @TableField(value = "idt", fill = FieldFill.INSERT)
    private LocalDateTime idt;


}
